package cn.newhopedairy.sim.infrastructure.db.po;

import com.baomidou.mybatisplus.annotation.TableName;
import cn.newhopedairy.common.po.SuperPo;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 系统角色与可访问端点资源关系表
 *
 * @author Neo.Li
 * @since 2021-01-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("role_endpoint")
@ApiModel(value="RoleEndpointPo对象", description="系统角色与可访问端点资源关系表")
public class RoleEndpointPo extends SuperPo {


    @ApiModelProperty(value = "角色ID")
    @TableField("role_id")
    private Long roleId;

    @ApiModelProperty(value = "端点ID")
    @TableField("endpoint_id")
    private Long endpointId;


}
